package com.mmy.domain.sys;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import lombok.ToString;

/**
 * The persistent class for the tSysOrg database table.
 * 
 */
@Entity
@Table(name = "tSysOrg")
@NamedQuery(name = "TSysOrg.findAll", query = "SELECT t FROM TSysOrg t")
@ToString
public class TSysOrg implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.TABLE)
	private int iOrgID;

	private String cAddress;

	private String cContact;

	private String cCreator;

	private String cFax;

	private String cMemo;

	private String cMobile;

	private String cOrgName;

	private String cReviser;
	
	//营业执照
	private String cSpare1;
	//身份证
	private String cSpare2;
	//总社营业执照
	private String cSpare3;
	//总社授权书
	private String cSpare4;
	//审核状态
	private String cSpare5;

	private String cTel;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dCreateDate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dModifyDate;

	private int iUpOrgID;

	private int iZoneID;

	public TSysOrg() {
	}

	public int getOrgID() {
		return this.iOrgID;
	}

	public void setOrgID(int iOrgID) {
		this.iOrgID = iOrgID;
	}

	public String getAddress() {
		return this.cAddress;
	}

	public void setAddress(String cAddress) {
		this.cAddress = cAddress;
	}

	public String getContact() {
		return this.cContact;
	}

	public void setContact(String cContact) {
		this.cContact = cContact;
	}

	public String getCreator() {
		return this.cCreator;
	}

	public void setCreator(String cCreator) {
		this.cCreator = cCreator;
	}

	public String getFax() {
		return this.cFax;
	}

	public void setFax(String cFax) {
		this.cFax = cFax;
	}

	public String getMemo() {
		return this.cMemo;
	}

	public void setMemo(String cMemo) {
		this.cMemo = cMemo;
	}

	public String getMobile() {
		return this.cMobile;
	}

	public void setMobile(String cMobile) {
		this.cMobile = cMobile;
	}

	public String getOrgName() {
		return this.cOrgName;
	}

	public void setOrgName(String cOrgName) {
		this.cOrgName = cOrgName;
	}

	public String getReviser() {
		return this.cReviser;
	}

	public void setReviser(String cReviser) {
		this.cReviser = cReviser;
	}

	public String getSpare1() {
		return this.cSpare1;
	}

	public void setSpare1(String cSpare1) {
		this.cSpare1 = cSpare1;
	}

	public String getSpare2() {
		return this.cSpare2;
	}

	public void setSpare2(String cSpare2) {
		this.cSpare2 = cSpare2;
	}

	public String getSpare3() {
		return this.cSpare3;
	}

	public void setSpare3(String cSpare3) {
		this.cSpare3 = cSpare3;
	}

	public String getSpare4() {
		return this.cSpare4;
	}

	public void setSpare4(String cSpare4) {
		this.cSpare4 = cSpare4;
	}

	public String getSpare5() {
		return this.cSpare5;
	}

	public void setSpare5(String cSpare5) {
		this.cSpare5 = cSpare5;
	}

	public String getTel() {
		return this.cTel;
	}

	public void setTel(String cTel) {
		this.cTel = cTel;
	}

	public Date getCreateDate() {
		return this.dCreateDate;
	}

	public void setCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	public Date getModifyDate() {
		return this.dModifyDate;
	}

	public void setModifyDate(Date dModifyDate) {
		this.dModifyDate = dModifyDate;
	}

	public int getUpOrgID() {
		return this.iUpOrgID;
	}

	public void setUpOrgID(int iUpOrgID) {
		this.iUpOrgID = iUpOrgID;
	}

	public int getZoneID() {
		return this.iZoneID;
	}

	public void setZoneID(int iZoneID) {
		this.iZoneID = iZoneID;
	}
	
	
}
